package com.xgr.wonderful.activity;

import android.os.Bundle;
import android.view.View;

import com.markupartist.android.widget.ActionBar;
import com.markupartist.android.widget.ActionBar.Action;
import com.xgr.wonderful.R;
import com.xgr.wonderful.activity.base.BasePageActivity;

public class AboutAppActivity extends BasePageActivity {
	
	private ActionBar mActionBar ;
	
	@Override
	protected void setLayoutView() {
		setContentView(R.layout.activity_aboutapp);
	}

	@Override
	protected void findViews() {
		mActionBar= (ActionBar)findViewById(R.id.actionbar_aboutapp) ;
	}

	@Override
	protected void setupViews(Bundle bundle) {
		mActionBar.setTitle("关于") ;
		mActionBar.setDisplayHomeAsUpEnabled(true) ;
		mActionBar.setHomeAction(new Action() {
			@Override
			public void performAction(View view) {
				finish() ;
			}
			
			@Override
			public int getDrawable() {
				return R.drawable.weix_logo_blank;
			}
		}) ;
	}

	@Override
	protected void setListener() {
		// TODO Auto-generated method stub
		
	}

}
